#pragma once
#include "Bias.h"

namespace TimeZone
{
	enum Constants
	{
		  MoscowTZIndex = 145 // Russian Standard Time
		, NewYorkTZIndex = 35 // Eastern Standard Time
	};

	class Utc
	{
		//	types

		//	data

		static Utc*		m_instance;

		Bias			m_source_bias;

		//	methods

		int				_fromSecondsFromMidnight(int seconds_from_midnight);

	public:

		Utc(int source_tz_index);
		~Utc(void);

		static int		fromSecondsFromMidnight(int seconds_from_midnight);
	};
}